package com.deying.httplockserver;

import javax.annotation.Resource;

import org.springframework.boot.CommandLineRunner;
import org.springframework.stereotype.Component;

import com.deying.httplockserver.core.NettyHttpServer;

@Component
public class StartRunner implements CommandLineRunner {
	@Resource
	NettyHttpServer nettyHttpServer;
	
	@Override
	public void run(String... args) throws Exception {
		nettyHttpServer.start();
	}

}
